package cn.hk.user.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 家庭关系表
 * </p>
 *
 * @author xu
 * @since 2023-03-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("mms_app_user_relation")
@ApiModel(value="UserRelation对象", description="家庭关系表")
public class UserRelation implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
      @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private Long toUserId;

    private Long formUserId;

    @ApiModelProperty(value = "家庭组标识")
    private String groupCode;

    @ApiModelProperty(value = "关系")
    private String realtion;


}
